namespace Gateway.UI.Api.Hubs;
/// <summary>
/// 
/// </summary>
public interface IMessageHub
{
    /// <summary>
    /// 在线用户列表
    /// </summary>
    /// <param name="id"></param>
    /// <param name="name"></param>
    /// <param name="onLine"></param>
    /// <returns></returns>
    Task OnlineUserList(string id,string name,bool onLine);
    
    
    /// <summary>
    /// 接收消息
    /// </summary>
    /// <param name="context"></param>
    /// <returns></returns>
    Task ReceiveMessage(object context);
}